import Router from 'koa-router';
import {getCode, check, addMsg} from '../../../controller/api/severAPI/index';

const severAPIRouter = new Router();

// 获取二维码
severAPIRouter.get('/getCode', getCode);

// 校验
severAPIRouter.get('/check', check);

// 发送消息
severAPIRouter.post('/addMsg', addMsg)

export default severAPIRouter;
